package com.car.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @ClassName: HelloController
 * @Description:
 * @Author 余全盛
 * @Date: 2021/12/2 10:30
 */
@Controller
public class HelloController {
    @RequestMapping("/")
    public ModelAndView log(){
        return new ModelAndView("login");
    }
    @RequestMapping("/home")
    public ModelAndView home(){
        return new ModelAndView("home");
    }
    @RequestMapping("/welcome")
    public ModelAndView welcome(){
        return new ModelAndView("welcome");
    }
    @RequestMapping("/toCustomerReg")
    public ModelAndView toCustomerReg(){
        return new ModelAndView("customer-reg");
    }
}
